home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_QueryString_VBScript.asp < prev    next >
Encoding:
Text File  |  1998-05-29  |  1.1 KB  |  45 lines

  1. <%@ Language = VBScript %>
  2. <% Option Explicit %>
  3.  
  4. <!*************************
  5. This sample is provided for educational purposes only. It is not intended to be 
  6. used in a production environment, has not been tested in a production environment, 
  7. and Microsoft will not provide technical support for it. 
  8. *************************>
  9.  
  10.  
  11.  
  12. <HTML>
  13.     <HEAD>
  14.         <TITLE>Form Posting (Get Method with QueryString)</TITLE>
  15.     </HEAD>
  16.  
  17.     <BODY BGCOLOR="White" TOPMARGIN="10" LEFTMARGIN="10">
  18.         
  19.         <!-- Display header. -->
  20.  
  21.         <FONT SIZE="4" FACE="ARIAL, HELVETICA">
  22.         <B>Form Posting (Get Method with QueryString)</B></FONT> 
  23.  
  24.         <BR><HR><P>
  25.  
  26.         This page will take the information entered in the form
  27.         fields, and use the GET method to send the data to an
  28.         ASP page.
  29.  
  30.         <FORM NAME=Form1 METHOD=GET ACTION="QueryString_VBScript.asp">
  31.         
  32.             <P>First Name: <INPUT TYPE=Text NAME=fname>
  33.             <P>Last Name: <INPUT TYPE=Text NAME=lname></P>
  34.             
  35.             <INPUT TYPE=Submit VALUE="Submit">
  36.             
  37.         </FORM>
  38.  
  39.  
  40.         <HR>
  41.         <% Response.Write(Request.QueryString("fname"))%> <BR>
  42.         <% Response.Write(Request.QueryString("lname"))%>
  43.     </BODY>
  44. </HTML>
  45.